//
//  EVECDSkill.h
//  EVE Mac Suite
//
//  Created by Vadim Lozko on 6/22/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <CoreData/CoreData.h>
#import "EVECDGroupOrSkill.h"

@class EVECDSkillBonus;
@class EVECDSkillGroup;
@class EVECDSkillRequirement;
@class EVECDSkillRequirement;
@class EVECDLearnedSkill;

@interface EVECDSkill :  EVECDGroupOrSkill  
{
}

@property (nonatomic, retain) NSString * secondaryAttribute;
@property (nonatomic, retain) NSString * primaryAttribute;
@property (nonatomic, retain) NSNumber * rank;
@property (nonatomic, retain) NSSet* skillBonusCollection;
@property (nonatomic, retain) EVECDSkillGroup * partOfSkillGroup;
@property (nonatomic, retain) NSSet* skillRequirements;
@property (nonatomic, retain) NSSet* partOfSkillRequirement;
@property (nonatomic, retain) NSSet* partOfLearnedSkill;

@end


@interface EVECDSkill (CoreDataGeneratedAccessors)
- (void)addSkillBonusCollectionObject:(EVECDSkillBonus *)value;
- (void)removeSkillBonusCollectionObject:(EVECDSkillBonus *)value;
- (void)addSkillBonusCollection:(NSSet *)value;
- (void)removeSkillBonusCollection:(NSSet *)value;

- (void)addSkillRequirementsObject:(EVECDSkillRequirement *)value;
- (void)removeSkillRequirementsObject:(EVECDSkillRequirement *)value;
- (void)addSkillRequirements:(NSSet *)value;
- (void)removeSkillRequirements:(NSSet *)value;

- (void)addPartOfSkillRequirementObject:(EVECDSkillRequirement *)value;
- (void)removePartOfSkillRequirementObject:(EVECDSkillRequirement *)value;
- (void)addPartOfSkillRequirement:(NSSet *)value;
- (void)removePartOfSkillRequirement:(NSSet *)value;

- (void)addPartOfLearnedSkillObject:(EVECDLearnedSkill *)value;
- (void)removePartOfLearnedSkillObject:(EVECDLearnedSkill *)value;
- (void)addPartOfLearnedSkill:(NSSet *)value;
- (void)removePartOfLearnedSkill:(NSSet *)value;

@end

@interface EVECDSkill (BindingsAccessors)

-(BOOL)isLeaf;

@end
